##
## Makefile for my_select in /home/nadali_t//local/svn/tek2ed/my_select
## 
## Made by thomas nadalie
## Login   <nadali_t@epitech.net>
## 
## Started on  Mon Nov 19 16:27:04 2012 thomas nadalie
## Last update Sun Nov 25 16:59:34 2012 thomas nadalie
##

NAME	=	my_select

SRC	=	lib/my_putchar.c \
		lib/my_isneg.c \
		lib/my_put_nbr.c \
		lib/my_swap.c \
		lib/my_putstr.c \
		lib/my_strlen.c \
		lib/my_getnbr.c \
		lib/my_factorielle_rec.c \
		lib/my_sort_int_tab.c \
		lib/my_power_rec.c \
		lib/my_square_root.c \
		lib/my_is_prime.c \
		lib/my_find_prime_sup.c \
		lib/my_strcpy.c \
		lib/my_strncpy.c \
		lib/my_revstr.c \
		lib/my_strstr.c \
		lib/my_strcmp.c \
		lib/my_strncmp.c \
		lib/my_strupcase.c \
		lib/my_strlowcase.c \
		lib/my_strcapitalize.c \
		lib/my_str_isalpha.c \
		lib/my_str_isnum.c \
		lib/my_str_islower.c \
		lib/my_str_isupper.c \
		lib/my_str_isprintable.c \
		lib/my_showstr.c \
		lib/my_showmem.c \
		lib/my_strcat.c \
		lib/my_strncat.c \
		lib/my_strlcat.c \
		lib/my_put_error.c \
		lib/my_bzero.c \
		lib/my_showlist.c \
		lib/my_strdup.c \
		lib/check_option.c \
		lib/convert_base.c \
		lib/init_tab.c \
		lib/opt_str.c \
		lib/opt_int.c \
		lib/opt_int2.c \
		lib/my_printf.c \
		lib/my_put_in_list.c \
		main.c \
		init_list.c \
		init_tab.c \
		termcaps.c \
		select.c \
		make_read.c

OBJ	=	$(SRC:.c=.o)

CFLAGS	=	-W -Wall -Iinclude -g

LDFLAGS =	-L.

all	:	$(NAME)

$(NAME)	:	$(OBJ)
		$(CC) -o $(NAME) -l termcap $(OBJ) $(LDFLAGS)

clean	:
	        $(RM) *~ $(RM) ./lib/*~
		$(RM) *.o $(RM) ./lib/*.o
	        $(RM) *# $(RM) ./lib/*#


fclean	:	clean
		rm -f $(NAME)

re	:	fclean all
